﻿@model Work.UI.Web.MVC.Models.Resume.ExpirianceModel
@{
    ViewBag.Title = "Досвід роботи";
    Layout = "~/Views/Shared/_MyLayout.cshtml";
}
@{
    Html.EnableClientValidation(true);
}
@section Menu{
    @RenderPage("~/Views/Shared/_EmployeeMenu.cshtml")
}
@section Include{
    <script type="text/javascript" language="javascript" src="@Url.Content("~/Scripts/View/Resume/noexpirance.js")"></script>
}


<h2>
    Досвід роботи</h2>

@using (Html.BeginForm())
{
    @Html.CheckBoxFor(m=>m.NoExpiriance,new {id = "noexperience" }) <span>Без досвіду</span>
    <div id="Expiriance">
        <table>
            <tr>
                <td colspan="2">
                    Компанія:
                </td>
            </tr>
            <tr>
                <td>
                    @Html.TextBoxFor(m => m.TitleExpiriance, new { style = "width:270px;" })
                </td>
                <td>
                    @Html.ValidationMessageFor(m => m.TitleExpiriance)
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    Посада:
                </td>
            </tr>
            <tr>
                <td>
                    @Html.TextBoxFor(m => m.Post, new { style = "width:270px;" })
                </td>
                <td>
                    @Html.ValidationMessageFor(m => m.Post)
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    Сфера діяльності:
                </td>
            </tr>
            <tr>
                <td>
                    @Html.TextBoxFor(m => m.ScopeOfActivation, new { style = "width:270px;" })
                </td>
                <td>
                    @Html.ValidationMessageFor(m => m.ScopeOfActivation)
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    Період роботи з:
                </td>
            </tr>
            <tr>
                <td>
                    @Html.TextBoxFor(model => model.StartDate, new { @class = "date-field", style = "width:270px;" })
                </td>
                <td>
                    @Html.ValidationMessageFor(m => m.StartDate)
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    по:
                </td>
            </tr>
            <tr>
                <td>
                    @Html.TextBoxFor(model => model.EndDate, new { @class = "date-field", style = "width:270px;" })
                </td>
                <td>
                    @Html.ValidationMessageFor(m => m.EndDate)
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    Ваші обов'язки і досягнення на займаній посаді:
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    @Html.TextAreaFor(model => model.DescriptionExpiriance, new { style = "resize:none; width:470px; height: 100px;" })
                </td>
            </tr>
        </table>
    </div>
    <input type="submit" value="Додати резюме" />
}
